#arange数组生成等步长

import numpy as np
A = np.arange(5)
print(A)
print(type(A))
B=np.arange(1,5)
print(B)
C=np.arange(1,5,2)
print(C)

'''
[0 1 2 3 4]
<class 'numpy.ndarray'>
[1 2 3 4]
[1 3]
'''